p2m: split mem_access into separate files
authorTamas K Lengyel <tamas.lengyel@zentific.com>
Fri, 9 Dec 2016 19:59:25 +0000 (12:59 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 30 Jan 2017 21:08:44 +0000 (13:08 -0800)
commita43a9ce34b0f8b3006101c34c2de39d9a3c8c686
treef480677a87e99e5d9bd9d6cf37778c3fe779d678
parent821b88f390ab8f64f2164ce03080a9197dcb7ebc
p2m: split mem_access into separate files

This patch relocates mem_access components that are currently mixed with p2m
code into separate files. This better aligns the code with similar subsystems,
such as mem_sharing and mem_paging, which are already in separate files. There
are no code-changes introduced, the patch is mechanical code movement.

On ARM we also relocate the static inline gfn_next_boundary function to p2m.h
as it is a function the mem_access code needs access to.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@zentific.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
16 files changed:
MAINTAINERS
xen/arch/arm/Makefile
xen/arch/arm/mem_access.c [new file with mode: 0644]
xen/arch/arm/p2m.c
xen/arch/arm/traps.c
xen/arch/x86/mm/Makefile
xen/arch/x86/mm/mem_access.c [new file with mode: 0644]
xen/arch/x86/mm/p2m.c
xen/arch/x86/vm_event.c
xen/common/mem_access.c
xen/include/asm-arm/mem_access.h [new file with mode: 0644]
xen/include/asm-arm/p2m.h
xen/include/asm-x86/mem_access.h [new file with mode: 0644]
xen/include/asm-x86/p2m.h
xen/include/xen/mem_access.h
xen/include/xen/p2m-common.h